package cn.bdqn.applysystem.entity;

import java.util.Date;

import org.springframework.stereotype.Component;

@Component("grade")
public class Grade {
	
	private Integer id;				//班级ID	
	private String gradeName;		//班级的名称		
	private Integer teacherId;		//教员ID
	private Integer headTeacherId;	//班主任ID
	private Integer subjectId;		//科目ID
	private Date beginGradeDate;	//开班时间
	
	private User user;
	private Subject subject;
	
	public Grade(){}
	public Grade(Integer id, String gradeName, Integer teacherId,
			Integer headTeacherId, Integer subjectId, Date beginGradeDate) {
		super();
		this.id = id;
		this.gradeName = gradeName;
		this.teacherId = teacherId;
		this.headTeacherId = headTeacherId;
		this.subjectId = subjectId;
		this.beginGradeDate = beginGradeDate;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getGradeName() {
		return gradeName;
	}
	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}
	public Integer getTeacherId() {
		return teacherId;
	}
	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}
	public Integer getHeadTeacherId() {
		return headTeacherId;
	}
	public void setHeadTeacherId(Integer headTeacherId) {
		this.headTeacherId = headTeacherId;
	}
	public Integer getSubjectId() {
		return subjectId;
	}
	public void setSubjectId(Integer subjectId) {
		this.subjectId = subjectId;
	}
	public Date getBeginGradeDate() {
		return beginGradeDate;
	}
	public void setBeginGradeDate(Date beginGradeDate) {
		this.beginGradeDate = beginGradeDate;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Subject getSubject() {
		return subject;
	}
	public void setSubject(Subject subject) {
		this.subject = subject;
	}
	
}
